package com.baitiaojun.system.admin.service.config.impl;

import com.baitiaojun.system.admin.mapper.config.DbConfigMapper;
import com.baitiaojun.system.admin.pojo.DbConfigDO;
import com.baitiaojun.system.admin.service.config.DbConfigService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author baitiaojun
* @description 针对表【db_config】的数据库操作Service实现
* @createDate 2024-09-17 15:22:14
*/
@Service
public class DbConfigServiceImpl extends ServiceImpl<DbConfigMapper, DbConfigDO> implements DbConfigService {

    @Autowired
    private DbConfigMapper dbConfigMapper;

    @Override
    public DbConfigDO queryOne(String configName) {
        return dbConfigMapper.selectOne(configName);
    }
}




